package com.xh.bussiness.score.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xh.core.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户积分、等级表
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("s_user_score_level")
public class UserScoreLevel extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 积分
     */
    private Long totalScore;

    /**
     * 可消耗积分
     */
    private Long score;

    /**
     * 等级
     */
    private Integer level;


}
